package com.wxm.pattern.factorymethod;

import com.wxm.pattern.Cat;
import com.wxm.pattern.IAnimal;

public class CatFactory implements IAnimalFactory{
    @Override
    public IAnimal getAnimal() {
        return new Cat();
    }
}
